<template>
    <div class="form-config-container">
        <el-form label-position="top">
            <el-form-item label="标签对齐方式">
                <el-radio-group v-model="data.labelPosition">
                    <el-radio-button label="left">左对齐</el-radio-button>
                    <el-radio-button label="right">右对齐</el-radio-button>
                    <el-radio-button label="top">顶部对齐</el-radio-button>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="表单字段宽度">
                <el-input-number v-model="data.labelWidth" :min="0" :max="200" :step="10"/>
            </el-form-item>

            <el-form-item label="组件尺寸">
                <el-radio-group v-model="data.size">
                    <el-radio-button label="medium">medium</el-radio-button>
                    <el-radio-button label="small">small</el-radio-button>
                    <el-radio-button label="mini">mini</el-radio-button>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="组件列数">
                <el-input-number v-model.number="data.column" :min="1" :max="24" :step="1"/>
            </el-form-item>

            <el-form-item label="≥1920px 响应式栅格数">
                <el-input-number v-model.number="data.xl" :min="1" :max="24" :step="1"/>
            </el-form-item>

            <el-form-item label="≥1200px 响应式栅格数">
                <el-input-number v-model.number="data.lg" :min="1" :max="24" :step="1"/>
            </el-form-item>

            <el-form-item label="≥992px 响应式栅格数">
                <el-input-number v-model.number="data.md" :min="1" :max="24" :step="1"/>
            </el-form-item>

            <el-form-item label="≥768px 响应式栅格数">
                <el-input-number v-model.number="data.sm" :min="1" :max="24" :step="1"/>
            </el-form-item>

            <el-form-item label="组件高度">
                <el-input v-model="data.height"/>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
export default {
    props: ['data']
}
</script>
